TCPSocket.ReadAll Method

Reads all the data from the internal buffer. Returns the data as a String.

Syntax

TCPSocket.ReadAll [Encoding]


Parameters

Encoding (Optional)

TextEncoding


The optional Encoding parameter enables you to specify the text encoding of the data to be returned. Use the Encodings object to specify a text encoding.